From: Naïm Favier Date: Tue, 18 Jan 2022 22:46:57 +0000 (+0100) Subject: loginDialog: Fix timing issue X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~530^2^2~245 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=3de418ea3b40a855b38580e43de3b30fe5528877;p=gnome-shell.git loginDialog: Fix timing issue Fix the first task of the timed login batch not returning the hold on `_waitForItemForUser`. Part-of: --- diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js index d48ea5416..802c7c260 100644 --- a/js/gdm/loginDialog.js +++ b/js/gdm/loginDialog.js @@ -1059,9 +1059,10 @@ var LoginDialog = GObject.registerClass({ let tasks = [ () => { if (this._disableUserList) - return; + return null; this._timedLoginUserListHold = this._waitForItemForUser(userName); + return this._timedLoginUserListHold; }, () => {